Method: Torch::Tensor#<=>

Defined in:
lib/torch/tensor.rb

#<=>(other) ⇒ Object

TODO better compare?



161
162
163
# File 'lib/torch/tensor.rb', line 161

def <=>(other)
  item <=> other
end